projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f40f984
)
(find-grep-dired): Call shell-quote-argument. Specify the -e option.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 3 Mar 2002 00:34:32 +0000
(
00:34
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 3 Mar 2002 00:34:32 +0000
(
00:34
+0000)
lisp/find-dired.el
patch
|
blob
|
history
diff --git
a/lisp/find-dired.el
b/lisp/find-dired.el
index 0b21c3c637092edce16816dd39fdbece548254fd..68f076a8284f607b2ebeb7e5a3e14ee4782a3079 100644
(file)
--- a/
lisp/find-dired.el
+++ b/
lisp/find-dired.el
@@
-183,7
+183,8
@@
Thus ARG can also contain additional grep options."
;; by FIFOs and devices. I'm not sure what's best to do
;; about symlinks, so as far as I know this is not wrong.
(find-dired dir
- (concat "-type f -exec grep " find-grep-options " "
+ (concat "-type f -exec grep " find-grep-options " -e "
+ (shell-quote-argument args)
args " {} \\\; ")))
(defun find-dired-filter (proc string)